package com.guigu.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.erp.pojo.ManufactureApply;
import org.apache.ibatis.annotations.Select;

public interface ManufactureApplyMapper extends BaseMapper<ManufactureApply> {
    /**
     * 查询ID最大的生产计划
     * @return
     */
    @Select("SELECT * FROM M_APPLY WHERE ID = (SELECT MAX(id) FROM M_APPLY)")
    ManufactureApply queryMaxModule();
}
